<?php
namespace Admin\Controller;
// 后台账户中心模块
class CodelistController extends CommonController {
    public function aa()
    {
       var_dump(1);
    }
    //用户分配目的码
    public function allotedit() {
        $add['code'] = $_REQUEST['ids'];
        $edit = D('codelist')->where("user_id=".$_REQUEST['userid'])->save($add);
        $this->mtReturn(200, '分配成功！','','forward',cookie('_currentUrl_'));
    }
}
?>